package com.guigu.erp.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.erp.mapper.StoragePayMapper;
import com.guigu.erp.pojo.StorageCell;
import com.guigu.erp.pojo.StoragePay;
import com.guigu.erp.service.StoragePayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName:StoragePayServiceImpl
 * Package:com.guigu.erp.service.impl
 * Description:
 *
 * @Date:2024/3/26 9:28
 * @Author:chenchong
 */
@Service
public class StoragePayServiceImpl extends ServiceImpl<StoragePayMapper, StoragePay>
        implements StoragePayService
        {
                @Autowired
                private StoragePayMapper storagePayMapper;
                @Override
                public String getMaxprocedure() {
                        StoragePay storageCell = storagePayMapper.queryMaxModule();
                        if(storageCell==null){
                                return null;
                        }
                        String designId = storageCell.getPayId();
                        return designId;
                }
        }
